or
The first command initiates an SCP2 client session to a remote SCP2 server and copies a configuration or policy file from the remote system to the switch.
The second command initiates an SCP2 client session to a remote SCP2 server and copies a configuration or policy file from the switch to a remote system.
vr_name |
Specifies the virtual router. The default virtual router is VR-Mgmt. Note: User-created VRs are supported only on
the platforms listed for this feature in the
Switch Engine v33.1.1 Licensing Guide
document.
|
cipher | Specifies the name of the
cipher. Possible values are:
|
mac | Specifies the name of the
Message Authentication Code. Possible values are:
|
on | Specifies that the data is to be compressed. |
off | Specifies that compression is not to be used. This is the default. |
portnum | Specifies the TCP port number to be used for communicating with the SSH2 client. The default is port 22. |
user | Specifies a login name for the remote host. |
hostname | Specifies the name of the remote host. |
ipaddress | Specifies the IP address of
the remote host. Note: For IPv6 addresses, use square brackets.
|
remote_file | Specifies the name of the remote file (configuration file, policy file, image file, public key file) to be transferred. |
local_file | Specifies the name of the local file (configuration file, policy file, image file, public key file) to be transferred. |
SSH2 does not need to be enabled on the switch in order to use this command.
This command logs into the remote host as user and accesses the file remote_file. You will be prompted for a password from the remote host, if required.
This section provides information about the characters supported by the switch for host names and remote IP addresses.
When naming the host, creating a user name, or configuring the IP address, remember the requirements listed above.
This section provides information about the characters supported by the switch for remote filenames.
When naming a remote file, remember the requirements listed above.
The following command copies the configuration file test.cfg on host system1 to the switch:
# scp2 admin@system1:test.cfg localtest.cfg
The following command copies the configuration file engineering.cfg from the switch to host system1:
# scp2 engineering.cfg admin@system1:engineering.cfg
The following command copies the file Anna5.xsf from the default virtual router to 150.132.82.140:
# scp2 vr vr-default Anna5.xsf root@150.132.82.140:Anna5.xsf Upload /config/Anna5.xsf to Connecting to 150.132.82.140...
This command was first available in ExtremeXOS 11.2.
Changes to cipher, as well as the addition of mac and compression, were first available in ExtremeXOS 15.7.1.
Ciphers and MACs that are unsupported in OpenSSH 8.1p1 were removed in ExtremeXOS 30.7.
This command is available on all Universal switches supported in this document.